package com.wut.clock.dto.admin;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;


@Data
public class UserParams {

    private Integer id;

    @NotBlank(message="用户名不能为空")
    private String username;

    @NotBlank(message="密码不能为空")
    private String password;

    @NotBlank(message = "用户姓名不能为空")
    private String nickname;

    @Email
    private String email;

    private String phone;

    private Integer sex;

    private String avatar;

    private String remark;
}
